package com.chuangjiangx.member.stored.web.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author cj-ch
 * @date 2018/7/6 下午3:20
 */
@Data
@ApiModel
public class QueryRechargeResultResponse {
    @ApiModelProperty(value = "订单id",dataType = "Long",example = "123")
    private Long id;
    @ApiModelProperty(value = "订单id",required = true,example = "8818062312235912345")
    private String orderNumber;
    @ApiModelProperty(value = "会员Id",required = true,example = "11")
    private Long memberId;
    @ApiModelProperty(value = "订单金额",required = true,example = "10.11")
    private BigDecimal orderAmount;
    @ApiModelProperty(value = "充值时间",required = true,dataType = "Long")
    private Date paidTime;
    @ApiModelProperty(value = "赠送的会员卡券Id",required = true,example = "156")
    private Long mbrHasCouponId;
    @ApiModelProperty(value = "订单支付状态,0-未支付 1-成功",required = true,allowableValues = "range[0,9]")
    private Integer status;
    @ApiModelProperty(value = "支付入口",required = true)
    private Integer payEntry;
    @ApiModelProperty(value = "充值规则Id")
    private Long mbrRechargeRuleId;

    @ApiModelProperty(value = "赠送类型,0积分 1金额 2积分")
    private Byte giftType;
    @ApiModelProperty(value = "赠送积分")
    private Long giftScore;
    @ApiModelProperty(value = "赠送金额")
    private BigDecimal giftAmount;
    @ApiModelProperty(value = "赠送的卡券编号")
    private String couponNumber;
    @ApiModelProperty(value = "赠送德卡券名称")
    private String giftCoupon;

    @ApiModelProperty(value = "会员积分余额")
    private Long availableScore;
    @ApiModelProperty(value = "会员储值余额")
    private BigDecimal availableBalance;
}
